export default {
    path: '/',
    name: 'Layout',
    redirect: '/home',
    component: () => import('@/layout/index.vue'),
    meta: {},
    children: [
        {
            path: '/home',
            name: 'Home',
            component: () => import('@/views/home/index.vue'),
            meta: {
                title: '首页',
                isShow: true,
                parentRoute: 'Layout',
            },
        },
        {
            path: '/search',
            name: 'Search',
            component: () => import('@/views/search/index.vue'),
            meta: {
                title: '搜索',
                isShow: true,
                parentRoute: 'Layout',
            },
        },
        {
            path: '/setting',
            name: 'Setting',
            component: () => import('@/views/setting/index.vue'),
            meta: {
                title: '设置',
                isShow: true,
                parentRoute: 'Layout',
            },
        },
    ],
};
